package com.itheima.reggie.service;

import com.itheima.reggie.entity.Page;
import com.itheima.reggie.entity.Setmeal;
import com.itheima.reggie.entity.SetmealDto;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SetmealService {
    void save(SetmealDto setmealDto);

    Page<SetmealDto> page(Integer page, Integer pageSize, String name);

    void deleteByIds(List<Long> ids);

    List<Setmeal> list(Long categoryId, Integer status);

    SetmealDto findById(Long id);

    void setStatus(Integer status, List<Long> ids);

    void update(SetmealDto setmealDto);

}
